Jx.categorize('unit.string', {

	$extend: 'unit.scalar',
	
	$helpers: {
		
		'String': 'Jx.lib.String'
		
	},

	$accessor: {

		value: ''

	},

	allowSetValue: function(operation, value){

		return Jx.isString(operation.value = value);

	},
	
	toXML: function(entities){
		
		return this.$String.xmlEncode( this.getValue(), entities );
		
	}

});
